package com.sun.mapper;

import com.sun.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface EmployeeMapper {
    Employee getAllEmpl();
    Employee getEmplByName(String name);
    int updateEmplName(@Param("name") String name, @Param("id") String id);
}
